package com.baox.agridata.synchronous.service.shanxi.impl;

import com.baox.agridata.synchronous.dao.shanxi.TXDRSlaughterHouseMapper;
import com.baox.agridata.synchronous.entity.quanguo.McQyxxs;
import com.baox.agridata.synchronous.entity.shanxi.TXDRSlaughterHouse;
import com.baox.agridata.synchronous.service.shanxi.TXDRSlaughterHouseService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class TXDRSlaughterHouseServiceImpl implements TXDRSlaughterHouseService {


    @Autowired
    private TXDRSlaughterHouseMapper txdrSlaughterHouseMapper;


    @Override
    public TXDRSlaughterHouse getSlaughterByName(String displayName) {
        return txdrSlaughterHouseMapper.getSlaughterByName(displayName);
    }

    @Override
    public List<McQyxxs> getSlaughterHouseList() {
        return txdrSlaughterHouseMapper.getSlaughterHouseList();
    }
}
